﻿namespace EventbriteApi.Model
{
    public class Ticket
    {
        [System.Xml.Serialization.XmlElement("id")]
        public long Id { get; set; }

        [System.Xml.Serialization.XmlElement("name")]
        public string Name { get; set; }

        [System.Xml.Serialization.XmlElement("description")]
        public string Description { get; set; }

        [System.Xml.Serialization.XmlElement("type")]
        public int Type { get; set; }

        [System.Xml.Serialization.XmlElement("currency")]
        public string Currency { get; set; }

        [System.Xml.Serialization.XmlElement("price")]
        public float Price { get; set; }

        [System.Xml.Serialization.XmlElement("start_date")]
        public string StartDate { get; set; }

        [System.Xml.Serialization.XmlElement("end_date")]
        public string EndDate { get; set; }

        [System.Xml.Serialization.XmlElement("quantity_available")]
        public int QuantityAvailable { get; set; }

        [System.Xml.Serialization.XmlElement("quantity_sold")]
        public int QuantitySold { get; set; }

        [System.Xml.Serialization.XmlElement("visible")]
        public bool Visible { get; set; }
    }
}
